package com.wenwu.service;

import com.wenwu.common.bean.RelicsMCulture;
import com.wenwu.common.exception.RelicsException;
import com.wenwu.common.page.PaginationVO;

/**
 * 可移动文物-文化面貌
 * @author Yaphet
 *
 */
public interface MoveableCultureService {
	
	/**
	 * 根据可移动文物登记表主键查询文焕面貌
	 * @param key
	 * @return
	 * @throws RelicsException
	 */
	RelicsMCulture selectMCultureByMWenwuKey(Integer key) throws RelicsException;
	
	/**
	 * 添加文物面貌
	 * @param relicsMculutre
	 * @return
	 * @throws RelicsException
	 */
	String addRelicsMCuture(RelicsMCulture relicsMculutre)throws RelicsException;

	/**
	 * 按条件分页查询
	 * @param relicsMCulture
	 * @param pageVo
	 * @return
	 */
	PaginationVO selectByCondition(RelicsMCulture relicsMCulture,PaginationVO pageVo)throws RelicsException;
	
	/**
	 * 根据主键查询文焕面貌
	 * @param key
	 * @return
	 * @throws RelicsException
	 */
	RelicsMCulture selectMCultureBySelftKey(Integer key) throws RelicsException;
	
	
	/**
	 * 根据主键查询文焕面貌
	 * @param keys
	 * @return
	 * @throws RelicsException
	 */
	String deleteBykeys(String keys) throws RelicsException;
}
